/**
 * Created by xiangjiayu on 2017/5/31.
 */
import immutable from 'immutable';
import Mock from 'mockjs';

var constants = function () {

};
export default constants;

let CepingList = [];
var Random = Mock.Random;

for(var i=0; i<=20; i++){
    CepingList.push(
        Mock.mock({
            "id": Random.id(),
            "xiansuo": Random.id(),
            "Name|1": '@cname',
            "Phone": /^1[34578]\d{9}$/,
            "state|1": [
                "备孕期",
                "怀孕期",
                "产后期"
            ],
            "buru|1": [
              "是",
              "否",
            ],
            "time": '@datetime - @datetime'
        })
    );

}
constants.CepingListTable = immutable.fromJS(CepingList);